/* Font import */
@font-face {font-family: DS-Digital; src: url(./fonts/DS-DIGII.TTF);}
@font-face {
    font-family: Eurostile; 
    src: url(./fonts/EurostileExtendedBlack.ttf);
    font-weight: 900;
}

*{
    margin: 0;
    padding: 0;
}

body{
    width: 600px;
    height: 250px;
    font-family: monospace;
    color: rgb(255, 0, 0);
    background: linear-gradient(90deg, rgb(0, 0, 0) 0%, rgb(27, 0, 77) 10%, rgb(9, 0, 129) 90%);
    background-image:  url(/backgrounds/bluerosebg.png);
}

select{
    margin-right: 1px;
}

button{
    padding: 4px;
    margin-right: 1px;
    font-family: Eurostile, monospace;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 8pt;
    color: rgb(17, 0, 255);

    background: linear-gradient(180deg, rgb(89, 0, 255) 0%, rgb(35, 0, 92) 10%, rgb(0, 0, 0) 90%);
    border: groove 2px rgb(255, 0, 0);
    border-radius: 20px;
    box-shadow: 0px 1px 0px 0px rgba(255, 0, 0, 0.75), 0px -1px 0px 0px rgba(0, 0, 0, 0.75);
}

button:active{
    background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 10%, rgb(0, 0, 0) 90%);
    border: groove 2px rgb(255, 0, 0);
    border-radius: 20px;
    box-shadow: 0px 1px 0px 0px rgba(255, 0, 0, 0.75), 0px -1px 0px 0px rgba(0, 0, 0, 0.75);
}

.toggle-button[state='off'] > p::before{
    content: url(./images/green-light-off.gif);
    margin-right: 3px;
}

.toggle-button[state='on'] > p::before{
    content: url(./images/green-light-on.gif);
    margin-right: 3px;
}


select{
    font-family: Eurostile, monospace;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 8pt;
    color: rgb(0, 68, 255);
    padding:0 5px;

    background: linear-gradient(180deg, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 10%, rgb(0, 0, 0) 90%);
    border: groove 2px rgb(255, 0, 0);
    border-radius: 20px;
    box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.75), 0px -1px 0px 0px rgba(0, 0, 0, 0.75);
}

select option{
    background: black;
}

select:active{
    background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 10%, rgbargb(0, 0, 0));
    border: groove 2px rgb(255, 0, 0);
    border-radius: 20px;
    box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.75), 0px -1px 0px 0px rgba(0, 0, 0, 0.75);
}




/* Blink class */
.blink {
    animation: blinker 2s step-start infinite;
}
  
@keyframes blinker {
    50% {
        opacity: 0;
    }
}


/* Columns section */
.columns{
    display: flex;
}

.columns > div:first-child{
    flex-shrink: 0;
    margin-right: 5px;
}

.columns > div:last-child{
    flex-grow: 1;
}



/* -- Sliders -- */
input[type="range"] {
    appearance: none;
    background: none;
    border: solid 1px rgb(255, 0, 0);
    border-radius: 10px;
    
    height: 5px;
    margin-top: 7px;
    margin-bottom: 7px;
}

/* slider track */
input[type="range"]::-webkit-slider-runnable-track /* For Chrome */ {
    background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 2%, rgb(0, 0, 0) 50%, rgb(0, 0, 0) 98%, rgb(0, 0, 0) 100%);
    height: 100%;
    border-radius: 10px;
}

input[type="range"]::-moz-range-track /* For Firefox */ {
    background: linear-gradient(0deg, rgb(255, 0, 0) 0%, rgba(238,238,238,1) 2%, rgba(221,221,221,1) 50%, rgb(105, 105, 105) 98%, rgba(255,255,255,1) 100%);
    height: 100%;
    border-radius: 10px;
}

/* slider thumb */
input[type="range"]::-webkit-slider-thumb /* For Chrome */ {
    appearance: none;
    position: relative;
    top: -4px;

    background: linear-gradient(180deg, rgba(129,129,129,1) 0%, rgba(96,96,96,1) 10%, rgba(30,30,30,1) 90%);
    border: groove 1px rgb(255, 0, 0);
    border-radius: 20px;
    
    border-radius: 5px;
    box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.75);

    height: 0.8rem;
    width: 1.5rem;
}

input[type="range"]::-webkit-slider-thumb:active /* For Chrome */ {
    background: linear-gradient(0deg, rgba(129,129,129,1) 0%, rgba(96,96,96,1) 10%, rgba(30,30,30,1) 90%);
    border: groove 2px rgb(255, 0, 0);
    
    border-radius: 10px;
    box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.75);
}



input[type="range"]::-moz-range-thumb /* For Firefox */ {
    background: linear-gradient(180deg, rgba(129,129,129,1) 0%, rgba(96,96,96,1) 10%, rgba(30,30,30,1) 90%);
    border: groove 1px rgb(255, 0, 0);
    border-radius: 20px;
    
    border-radius: 5px;
    box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.75);

    height: 0.8rem;
    width: 1.5rem;
}

input[type="range"]::-moz-range-thumb:active /* For Firefox */ {
    background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 10%, rgb(0, 0, 0) 90%);
    border: groove 2px rgb(255, 0, 0);
    
    border-radius: 10px;
    box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.75);
}



/* ---- Web Deck Player ---- */
#web-deck-player{
    padding: 0 5px;
}


/* Player title bar */
#player-title-bar{
    display: flex;
    color: rgb(255, 0, 0);
    font-family: Eurostile, Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 10pt;
}

#player-title-bar:before,
#player-title-bar:after{
    content: "";
    flex: 1;
    margin: auto 1em;
    height: 2px;
    border-top: ridge rgb(255, 0, 0) 2px;
    border-bottom: ridge rgb(255, 0, 0) 2px;
}

/* Player body */
#player-body{
    margin: 2px;
    padding: 5px;
    border: inset 2px rgb(255, 0, 0);
    border-radius: 5px;
    border-bottom-left-radius: 8%;
    border-bottom-right-radius: 8%;
    background: rgba(0, 36, 136, 0.5);
    
}

/* Player main section */
#player-main-section{
    margin-bottom: 5px;
}


/* Player display */
#player-display{
    width: 250px;
    height: 140px;
    background: black;
    border: solid 1px rgb(255, 0, 0);
    border-radius: 5px;
    box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.75), 0px -1px 0px 0px rgba(0, 0, 0, 0.75);
}


/* Player info */
#info-screen{
    background: #000000;
    color: rgb(55, 0, 255);
    border: solid 1px rgb(255, 0, 0);
    border-radius: 5px;
    box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.75), 0px -1px 0px 0px rgba(0, 0, 0, 0.75);
    margin-bottom: 5px;
    padding: 2px;
    font-family: DS-Digital, monospace;
    font-size: large;
    letter-spacing: 0.1em;
}

.player-row{
    margin-top: 5px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

#volumeButton{
    height: 25px;
    width: 25px;
}

#volumeButton img{
    height: 100%;
}

#volumeBar{
    width: 120px;
}

#themeSelector{
    height: 25px;
    max-width: 150px;
    text-overflow: ellipsis;
}

#videoButton{
    height: 25px;
}

#playerLogo{
    text-align: center;
    height: fit-content;
}

#playerLogo > img{
    margin-top: 5px;
    max-height: 50px;
}

/* Player control panel */
#player-control-panel{
    font-size: 0;
}

#seekBar{
    width: 99%;
    margin-bottom: 12px;
}

.playing-controls{
    margin-bottom: 5px;
    margin-right: 5px;
    padding: 3px;
    display: inline-block;
    width: fit-content;
    background: none;
    border-radius: 5px;
    vertical-align: middle;
}

.playing-controls[rounded]{
    border-radius: 20px;
}

.playing-controls[float-right]{
    float: right;
}

.playing-controls button{
    height: 30px;
    min-width: 50px;
}

.playing-controls button img{
    height: 100%;
}


#infoButton{
    border-radius: 20px;
    height: 30px;
    min-width: 30px;
    font-size: large;
}

#playlistSelector{
    height: 30px;
    max-width: 175px;
    text-overflow: ellipsis;
}